/*
 * @Author: xws 1043495328@qq.com
 * @Date: 2023-07-13 14:21:12
 * @LastEditors: xws 1043495328@qq.com
 * @LastEditTime: 2023-07-24 16:54:51
 * @FilePath: \vue3-admin-template\src\store\modules\types\type.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import type { RouteRecordRaw } from 'vue-router'
import type { CategoryObj } from '@/api/product/attr/type'
// 定义小仓库数据state类型
export interface UserState {
  token: string | null
  menuRoutes: RouteRecordRaw[]
  username: string
  avatar: string
  buttons: string
  // thisMeaaage:string
}
//定义分类仓库state对象的ts类型
export interface CategoryState {
  c1Id: number | string
  c2Id: number | string
  c3Id: number | string
  c3Arr: CategoryObj[]
  c1Arr: CategoryObj[]
  c2Arr: CategoryObj[]
}
